.class Lcom/bandai/games/api/xkLYZ;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/os/Handler$Callback;


# instance fields
.field final synthetic ybUDW:Lcom/bandai/games/api/EGGkA;


# direct methods
.method private constructor <init>(Lcom/bandai/games/api/EGGkA;)V
    .locals 0

    iput-object p1, p0, Lcom/bandai/games/api/xkLYZ;->ybUDW:Lcom/bandai/games/api/EGGkA;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method synthetic constructor <init>(Lcom/bandai/games/api/EGGkA;Lcom/bandai/games/api/zMYBH;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/bandai/games/api/xkLYZ;-><init>(Lcom/bandai/games/api/EGGkA;)V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)Z
    .locals 8

    const/16 v7, 0x97

    const/4 v6, 0x3

    const/4 v5, 0x0

    const/4 v4, 0x0

    const/4 v3, 0x1

    const-string v0, ""

    invoke-virtual {p0, v0}, Lcom/bandai/games/api/xkLYZ;->sadpk(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, ""

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const/16 v1, 0xa1

    invoke-static {v1, v3}, Lcom/bandai/games/api/RpPrM;->xMWrZ(II)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/bandai/games/api/EGGkA;->WatEh(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/bandai/games/api/OBbpg;->gKcmI(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/bandai/games/api/xkLYZ;->ybUDW:Lcom/bandai/games/api/EGGkA;

    invoke-static {v0}, Lcom/bandai/games/api/EGGkA;->MMmmY(Lcom/bandai/games/api/EGGkA;)Landroid/os/Handler$Callback;

    move-result-object v0

    if-eq v0, p0, :cond_0

    const/16 v0, 0x13c

    const/16 v1, 0xb

    invoke-static {v0, v1}, Lcom/bandai/games/api/RpPrM;->xMWrZ(II)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/bandai/games/api/OBbpg;->gKcmI(Ljava/lang/String;)V

    :goto_0
    return v5

    :cond_0
    const-string v0, ""

    const/16 v1, 0x1ea

    invoke-static {v1, v6}, Lcom/bandai/games/api/RpPrM;->xMWrZ(II)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p0, v4, v0, v1}, Lcom/bandai/games/api/xkLYZ;->vmNfj(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, ""

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-static {v7, v3}, Lcom/bandai/games/api/RpPrM;->xMWrZ(II)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/bandai/games/api/EGGkA;->WatEh(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/bandai/games/api/OBbpg;->gKcmI(Ljava/lang/String;)V

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const/16 v1, 0xb1

    const/4 v2, 0x5

    invoke-static {v1, v2}, Lcom/bandai/games/api/RpPrM;->xMWrZ(II)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/bandai/games/api/OBbpg;->gKcmI(Ljava/lang/String;)V

    if-nez p1, :cond_1

    const-string v0, " "

    const-string v1, "  "

    invoke-virtual {p0, v4, v0, v1}, Lcom/bandai/games/api/xkLYZ;->vGGgC(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, ""

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-static {v7, v3}, Lcom/bandai/games/api/RpPrM;->xMWrZ(II)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/bandai/games/api/EGGkA;->WatEh(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/bandai/games/api/OBbpg;->gKcmI(Ljava/lang/String;)V

    goto :goto_0

    :cond_1
    const-string v0, " "

    const-string v1, "  "

    invoke-virtual {p0, v4, v0, v1}, Lcom/bandai/games/api/xkLYZ;->vGGgC(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, ""

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-static {v7, v3}, Lcom/bandai/games/api/RpPrM;->xMWrZ(II)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/bandai/games/api/EGGkA;->WatEh(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/bandai/games/api/OBbpg;->gKcmI(Ljava/lang/String;)V

    iget v0, p1, Landroid/os/Message;->what:I

    sparse-switch v0, :sswitch_data_0

    goto/16 :goto_0

    :sswitch_0
    const-string v0, " "

    const/16 v1, 0x223

    invoke-static {v1, v3}, Lcom/bandai/games/api/RpPrM;->xMWrZ(II)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p0, v4, v0, v1}, Lcom/bandai/games/api/xkLYZ;->vGGgC(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, ""

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const/16 v1, 0x6b

    invoke-static {v1, v3}, Lcom/bandai/games/api/RpPrM;->xMWrZ(II)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/bandai/games/api/EGGkA;->WatEh(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/bandai/games/api/OBbpg;->gKcmI(Ljava/lang/String;)V

    goto/16 :goto_0

    :sswitch_1
    const-string v0, " "

    const/16 v1, 0x223

    invoke-static {v1, v3}, Lcom/bandai/games/api/RpPrM;->xMWrZ(II)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p0, v4, v0, v1}, Lcom/bandai/games/api/xkLYZ;->vGGgC(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, ""

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const/16 v1, 0x1d3

    invoke-static {v1, v3}, Lcom/bandai/games/api/RpPrM;->xMWrZ(II)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/bandai/games/api/EGGkA;->WatEh(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/bandai/games/api/OBbpg;->gKcmI(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/bandai/games/api/xkLYZ;->ybUDW:Lcom/bandai/games/api/EGGkA;

    invoke-static {v0}, Lcom/bandai/games/api/EGGkA;->BmuKD(Lcom/bandai/games/api/EGGkA;)V

    const-string v0, "  "

    const/16 v1, 0xae

    invoke-static {v1, v6}, Lcom/bandai/games/api/RpPrM;->xMWrZ(II)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p0, v4, v0, v1}, Lcom/bandai/games/api/xkLYZ;->vGGgC(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, ""

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const/16 v1, 0x126

    invoke-static {v1, v6}, Lcom/bandai/games/api/RpPrM;->xMWrZ(II)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/bandai/games/api/EGGkA;->WatEh(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/bandai/games/api/OBbpg;->gKcmI(Ljava/lang/String;)V

    goto/16 :goto_0

    :sswitch_data_0
    .sparse-switch
        0x0 -> :sswitch_0
        0xdbba1 -> :sswitch_1
    .end sparse-switch
.end method

.method public sadpk(Ljava/lang/String;)Ljava/lang/String;
    .locals 5

    invoke-static {p1}, Lcom/bandai/games/api/EGGkA;->vHUml(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    :goto_0
    return-object p1

    :cond_0
    invoke-virtual {p1}, Ljava/lang/String;->toCharArray()[C

    move-result-object v1

    const/4 v0, 0x0

    array-length v2, v1

    :goto_1
    if-ge v0, v2, :cond_3

    aget-char v3, v1, v0

    const/16 v4, 0x20

    if-ne v3, v4, :cond_1

    const/16 v3, 0x3000

    aput-char v3, v1, v0

    :goto_2
    add-int/lit8 v0, v0, 0x1

    goto :goto_1

    :cond_1
    const/16 v3, 0x21

    aget-char v4, v1, v0

    if-gt v3, v4, :cond_2

    aget-char v3, v1, v0

    const/16 v4, 0x7e

    if-gt v3, v4, :cond_2

    aget-char v3, v1, v0

    const v4, 0xfee0

    add-int/2addr v3, v4

    int-to-char v3, v3

    aput-char v3, v1, v0

    goto :goto_2

    :cond_2
    aget-char v3, v1, v0

    aput-char v3, v1, v0

    goto :goto_2

    :cond_3
    new-instance p1, Ljava/lang/String;

    invoke-direct {p1, v1}, Ljava/lang/String;-><init>([C)V

    goto :goto_0
.end method

.method public vGGgC(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    .locals 1

    if-nez p1, :cond_0

    const/4 v0, 0x0

    :goto_0
    return-object v0

    :cond_0
    invoke-static {p2}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;

    move-result-object v0

    invoke-virtual {v0, p1}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;

    move-result-object v0

    invoke-virtual {v0, p3}, Ljava/util/regex/Matcher;->replaceAll(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    goto :goto_0
.end method

.method public vmNfj(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    .locals 1

    if-nez p1, :cond_0

    const/4 v0, 0x0

    :goto_0
    return-object v0

    :cond_0
    invoke-static {p2}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;

    move-result-object v0

    invoke-virtual {v0, p1}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;

    move-result-object v0

    invoke-virtual {v0, p3}, Ljava/util/regex/Matcher;->replaceFirst(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    goto :goto_0
.end method
